#pragma once

class GGame
{
public:	
	BOOL	InitGame(const wchar_t* inipath);
	void	Distroy();
	static	BOOL	CreateWnd(const wchar_t* title, int width, int height, int bits, bool fullscreenflag);
	static	LRESULT WndProc(HWND hWnd,UINT uMsg,WPARAM wParam,LPARAM lParam);
	static	int		Run();
	static	void	KillGLWindow();
	static	void	ShowWindows();	
protected:
	static		bool		m_bFullScreen;
	static		HINSTANCE	m_hInstance;
	static		HWND		m_hWnd;
	static		HDC			m_hDC;
	static		int			m_nWndWidth;
	static		int			m_nWndHeight;
};
extern GGame sGame;